package com.scmt.hmzd.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author dengjie
 * @since 2023-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HmProject对象", description="")
public class HmProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键、自增")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "名称")
    private String title;

    @ApiModelProperty(value = "图片地址")
    private String cover;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    private Integer sale;

    private Integer trueSale;

    private Integer totalSale;

    @ApiModelProperty(value = "时长")
    private Integer timeLong;

    private Integer maxTime;

    @ApiModelProperty(value = "项目介绍")
    private String introduce;

    @ApiModelProperty(value = "注意事项")
    private String explainInfo;

    @ApiModelProperty(value = "下单须知")
    private String notice;

    @ApiModelProperty(value = "排名")
    private Integer top;

    @ApiModelProperty(value = "有效状态")
    private Integer delFlag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "好评数")
    private Integer star;

    @ApiModelProperty(value = "原始价格")
    private BigDecimal initPrice;

    @ApiModelProperty(value = "项目简介")
    private String subTitle;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 技师id
     */
    @TableField(exist = false)
    private String technicianId;

    //下单数
    @TableField(exist = false)
    private Integer orderCount;
}
